<%@ tag body-content="empty"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ tag import="javax.portlet.*"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="portlet2_0"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<%@taglib  tagdir="/WEB-INF/tags/" prefix="tag" %>
<%@attribute name="actions" required="true" rtexprvalue="true" type="java.util.Map"%>

<portlet:defineObjects />
<c:if test="${not empty actions}">
    <c:forEach items="actions" var="action">
        <div>
            <portlet2_0:renderURL  var="keyURL">
                <portlet2_0:param name="action" value="${action.key}"/>
            </portlet2_0:renderURL>
            <a href="${keyURL}">${action.value}</a>
        </div>
    </c:forEach>
</c:if>